package com.qfedu.dao.impl;

import com.qfedu.dao.MoneyRateDao;
import com.qfedu.pojo.MoneyRate;

public class MoneyRateDaoImpl extends BaseDao implements MoneyRateDao {

    @Override
    public MoneyRate findRate(String bank_name, String time) {
        String sql="select * from moneyrate where bank_name=? and time=? ";
        return queryForOne(MoneyRate.class, sql, bank_name,time);
    }
}
